<?php
$this->breadcrumbs = array(
	'供货商列表' => array(
		'index'
	),
	'管理',
);

$this->userActions = array(
	//array('label'=>'List Merchant', 'url'=>array('index')),
	array(
		'label' => '新建供货商',
		'url' => array(
			'create'
		)
	),
);

?>

<h1>管理供货商</h1>
<?php $this
	->widget('zii.widgets.grid.CGridView',
		array(
			'id' => 'merchant-grid',
			'dataProvider' => $model->search(),
			'filter' => $model,
			'columns' => array(
				//'id',
				'name',
				'address',
				'phone',
				//'fax',
				'otherName',
				'bossName',
				'bossPhone',
				'contactName',
				'contactPhone',
				'serviceScope',
				'note',
				'createTime',
				/* 'createUserId',
				'updateTime',
				'updateUserId',
				 */
				array(
					'class' => 'CButtonColumn',
				),
			),
		));
?>
